
<?php 
include_once("DataProvider.php");
$sql = "select * from tbl_categories order by stt";
$i=0;
$result = DataProvider::ExecuteQuery($sql);
$count = mysql_num_rows($result);


while($row = mysql_fetch_array($result))
{
	$i++;
	
	?>
	<a  href="index.php?ref=<?php  echo $row["idCategories"]; ?>"><?php echo $row["categories"]; ?></a><br />
    <?php
	
}

?>
